<?php
/**
 *
 * @file RPD.php
 *
 * @todo brief.
 *
 * @todo details here
 *
 * http://code.google.com/p/rpd/wiki/RPD.php
 *
 * New BSD License
 * \n
 * Copyright (c) 2010 Rpd-Team
 *
 * @namespace  rpd
 * @since      0.0.1
 * @version    0.0.1
 */

class RPD
{
	static function ModelToTablename($in)
	{
		if (is_object($in) && is_subclass_of($in, "Model"))
		{
			$in = get_class($in);
		}

		return strtolower(str_replace("Model_", "", $in));
	}
}

?>